import request from '@/utils/request'
export const getActors = (data: any) => {
  const serchParam = data.search
    ? {
        keyWord: 'search',
        keyValue: data.search,
      }
    : {}
  const param = {
    ...serchParam,
    conditionParam: { 'otherInfo.stage': 1 },
    activityId: data.activityId,
    currentPage: data.currentPage,
    pageNum: data.pageNum || 4,
  }
  return request(`https://alpha-dazzle.yunshicloud.com/yntv-activity/activity/actors`, {
    method: 'post',
    data: param,
  })
}
